package com.ruoyi.campus.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 悬赏榜对象 my_price_list
 *
 * @author zht
 * @date 2021-10-24
 */
public class MyPriceList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String offerId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String comName;

    /** 商品描述 */
    private String comDesc;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String image;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal money;

    /** 状态 0违规 1正常 2删除 3待审核 4已完成 */
    @Excel(name = "状态 0违规 1正常 2删除 3待审核 4已完成")
    private String offerStatus;

    /** 发布者id */
    private Long iuserId;

    /** 发布者账号 */
    private String iuserName;

    /** 提供者id */
    private Long ruserId;

    /** 提供者账号 */
    private String ruserName;

    public void setOfferId(String offerId)
    {
        this.offerId = offerId;
    }

    public String getOfferId()
    {
        return offerId;
    }
    public void setComName(String comName)
    {
        this.comName = comName;
    }

    public String getComName()
    {
        return comName;
    }
    public void setComDesc(String comDesc)
    {
        this.comDesc = comDesc;
    }

    public String getComDesc()
    {
        return comDesc;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setOfferStatus(String offerStatus)
    {
        this.offerStatus = offerStatus;
    }

    public String getOfferStatus()
    {
        return offerStatus;
    }
    public void setIuserId(Long iuserId)
    {
        this.iuserId = iuserId;
    }

    public Long getIuserId()
    {
        return iuserId;
    }
    public void setRuserId(Long ruserId)
    {
        this.ruserId = ruserId;
    }

    public Long getRuserId()
    {
        return ruserId;
    }

    public String getIuserName() {
        return iuserName;
    }

    public void setIuserName(String iuserName) {
        this.iuserName = iuserName;
    }

    public String getRuserName() {
        return ruserName;
    }

    public void setRuserName(String ruserName) {
        this.ruserName = ruserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("offerId", getOfferId())
            .append("comName", getComName())
            .append("comDesc", getComDesc())
            .append("image", getImage())
            .append("createTime", getCreateTime())
            .append("money", getMoney())
            .append("offerStatus", getOfferStatus())
            .append("iuserId", getIuserId())
            .append("ruserId", getRuserId())
            .append("iuserName", getIuserName())
            .append("ruserName", getRuserName())
            .toString();
    }
}
